package com.gzs.learn.payment.config;

import cn.felord.payment.alipay.AliPayClientContainer;
import cn.felord.payment.wechat.v3.WechatMetaContainer;
import com.gzs.learn.common.util.SpringContextUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class PaymentConfig {

    @Bean
    public SpringContextUtil springContextUtil() {
        return new SpringContextUtil();
    }

    @Bean
    public WechatMetaContainer wechatMetaContainer() {
        return new WechatMetaContainer();
    }

    @Bean
    public AliPayClientContainer aliPayClientContainer() {
        return new AliPayClientContainer();
    }
}
